<div class="block-flat" id="c----<%= category.id %>">
  <div class="header">
    <h3><%= category.name %></h3>
  </div>
  <div class="content">
    <%= content_tag :p, "栏目下共有 #{category.count} 篇文章" %>
  </div>
  <div class="spacer2 text-center">
    <%= link_to fa_i_with_text('编辑', 'edit'), edit_backend_category_path(category),
                class: 'btn btn-primary btn-fla' %>
    <%= link_to fa_i_with_text(' 删除', 'times'), backend_category_path(category),
                method: :delete, remote: true, class: 'btn btn-primary btn-fla', data: {confirm: 'OK?'} %>
  </div>
</div>